<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>用户登录2</title>
</head>
<body>
<div style="text-align: center;width: 500px">
    <h2>用户登录</h2>
<form method="post" action="/dologin">
    <p  th:text="${errorMsg}" style="font-size: 10px;color: red"></p>
    用户名：<input type="text" name="username"><br>
    密码：<input type="password" name="password"><br>
    <input type="submit" value="登录">
</form>

</div>
</body>
</html>